-- cmd_buy_sky_pet_scrap
-- Create by huanghr
-- 购买冈布奥碎片

function Operation.cmd_buy_sky_pet_scrap(goodsId, count)
    -- 客户端先自行购买
    if not SkyPetShopM.buyScrap(goodsId, count) then
        return;
    end

    -- 记录起来，需要进行同步
    local v = { ["goods_id"] = goodsId, ["amount"] = count,};
    SyncM.addMessage("CMD_BUY_SKY_PET_SCRAP", v);
    SyncM.startSync();
end
